// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_TECHNIC_RATIO
// * CreateDate    : 2014-06-05 18:30:21
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:21
// * LastChanger   : 2014-06-05 18:30:21
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdTechnicRatioTable : TableInfo
    {
		public const string C_TableName = "PROD_TECHNIC_RATIO";
		
		public const string C_ID = "ID";
		public const string C_TECHNIC_ID = "TECHNIC_ID";
		public const string C_QTY_FROM = "QTY_FROM";
		public const string C_QTY_TO = "QTY_TO";
		public const string C_RATIO = "RATIO";
		public const string C_VALIDITY_FLAG = "VALIDITY_FLAG";
		
		public ProdTechnicRatioTable()
        {
            _tableName = "PROD_TECHNIC_RATIO";
        }
		
		protected static ProdTechnicRatioTable _current;
        public static ProdTechnicRatioTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdTechnicRatioTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID,"TechnicId", false, typeof(string)));
            _current.Add(C_QTY_FROM, new ColumnInfo(C_QTY_FROM,"QtyFrom", false, typeof(decimal)));
            _current.Add(C_QTY_TO, new ColumnInfo(C_QTY_TO,"QtyTo", false, typeof(decimal)));
            _current.Add(C_RATIO, new ColumnInfo(C_RATIO,"Ratio", false, typeof(decimal)));
            _current.Add(C_VALIDITY_FLAG, new ColumnInfo(C_VALIDITY_FLAG,"ValidityFlag", false, typeof(int)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }
		
		public ColumnInfo QTY_FROM
        {
            get { return this[C_QTY_FROM]; }
        }
		
		public ColumnInfo QTY_TO
        {
            get { return this[C_QTY_TO]; }
        }
		
		public ColumnInfo RATIO
        {
            get { return this[C_RATIO]; }
        }
		
		public ColumnInfo VALIDITY_FLAG
        {
            get { return this[C_VALIDITY_FLAG]; }
        }
		
		
		
	}
}

